package com.zsr.common.enums;

import lombok.Getter;

@Getter
public enum ZfbPayStatusEnum {

    /**
     * 支付宝支付交易状态
     */
    TRADE_FINISHED("交易完成", "TRADE_FINISHED"),
    TRADE_SUCCESS("支付成功", "TRADE_SUCCESS"),
    // 交易创建不会触发异步回调
    WAIT_BUYER_PAY("交易创建", "WAIT_BUYER_PAY"),
    TRADE_CLOSED("交易关闭", "TRADE_CLOSED");



    private final String label;
    private final String value;

    ZfbPayStatusEnum(String label, String value) {
        this.label = label;
        this.value = value;
    }
}
